﻿@model KRM.Core.LoginModel
<html lang="en" class="no-js">
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8">
    <title>Kybotech | Change password</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <meta content="" name="description">
    <meta content="" name="author">
    <meta name="MobileOptimized" content="320">
    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="/hr/js/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="/hr/js/plugins/bootstrap/css/bootstrap.css" rel="stylesheet" />
    <link href="/hr/js/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css">
    <!-- END GLOBAL MANDATORY STYLES -->
    <!-- BEGIN PAGE LEVEL STYLES -->
    <link rel="stylesheet" type="text/css" href="/hr/js/plugins/select2/select2_metro.css">
    <!-- END PAGE LEVEL SCRIPTS -->
    <!-- BEGIN THEME STYLES -->
    <link href="/hr/css/style-metronic.css" rel="stylesheet" type="text/css">
    <link href="/hr/css/style.css" rel="stylesheet" type="text/css">
    <link href="/hr/css/style-responsive.css" rel="stylesheet" type="text/css">
    <link href="/hr/css/plugins.css" rel="stylesheet" type="text/css">
    <link href="/hr/css/themes/default.css" rel="stylesheet" type="text/css" id="style_color">
    <link href="/hr/css/pages/login.css" rel="stylesheet" type="text/css">
    <link href="/hr/css/custom.css" rel="stylesheet" type="text/css">
    <!-- END THEME STYLES -->
    <link rel="shortcut icon" href="/img/favicon.ico">

    <!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
    <!-- BEGIN CORE PLUGINS -->
    <!--[if lt IE 9]>
            <script src="/hr/js/plugins/respond.min.js"></script>
            <script src="/hr/js/plugins/excanvas.min.js"></script> 
        <![endif]-->
    <script src="/hr/js/plugins/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script src="/hr/js/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
    <script src="/hr/js/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <!-- END CORE PLUGINS -->
    <!-- BEGIN PAGE LEVEL PLUGINS -->
    <script src="/hr/js/plugins/jquery-validation/dist/jquery.validate.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="/hr/js/plugins/select2/select2.min.js"></script>
    <!-- END PAGE LEVEL PLUGINS -->
    <!-- BEGIN PAGE LEVEL SCRIPTS -->
    <script src="/hr/js/app.js" type="text/javascript"></script>
    <script src="/hr/js/login.js" type="text/javascript"></script>
    <!-- END PAGE LEVEL SCRIPTS -->
    <script>
        jQuery(document).ready(function () {
            App.init();
            Login.init();
        });
    </script>
    <!-- END JAVASCRIPTS -->
</head>
<!-- BEGIN BODY -->
<body class="login" style="">
    <!-- BEGIN LOGO -->
    <div class="logo">
        <img src="/img/logo-big.png" alt="">
    </div>
    <!-- END LOGO -->
    <!-- BEGIN LOGIN -->
    <div class="content">
        <!-- BEGIN LOGIN FORM -->
        @if (!User.Identity.IsAuthenticated)
        {
            Response.Redirect("/Users/Login");
        }

        <form class="register-form" action="/Users/ChangePassword" method="post" novalidate="novalidate" style="display: block;">
                <input type="hidden" name="username" value="@User.Identity.Name"/>
            <h3 class="form-title">Change Password</h3>
            @Html.Partial("Partial/_MessageResult")
            <div class="form-group">
                <label class="control-label visible-ie8 visible-ie9">New pssword</label>
                <div class="input-icon">
                    <i class="icon-lock"></i>
                    <input class="form-control placeholder-no-fix" type="password" autocomplete="off" id="register_password" placeholder="New Password" name="password">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label visible-ie8 visible-ie9">Re-type New Password</label>
                <div class="controls">
                    <div class="input-icon">
                        <i class="icon-ok"></i>
                        <input class="form-control placeholder-no-fix" type="password" autocomplete="off" placeholder="Re-type New Password" name="rpassword">
                    </div>
                </div>
            </div>

            <div class="form-actions" style="padding-left: 30px !important">
                <button type="submit" id="register-submit-btn" class="btn green pull-right">
                    Submit <i class="m-icon-swapright m-icon-white"></i>
                </button>
            </div>
        </form>
        <!-- END LOGIN FORM -->
    </div>
    <!-- END LOGIN -->
    <!-- BEGIN COPYRIGHT -->
    <div class="copyright">
        2013 © VCN Corporation.
    </div>
    <!-- END COPYRIGHT -->
    <!-- END BODY -->
</body>
</html>
